package com.tdcoding.chat.entities;

import java.io.Serializable;

import io.protostuff.Tag;

public class BaseInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2501266422958926973L;

	@Tag(value=1)
	private long userId;
	@Tag(value=2)
	private String userName;
	@Tag(value=3)
	private String nickName;
	@Tag(value=4)
	private String userHead;
	
	@Tag(value=5)
	private String packetId;
	
	@Tag(value=6)
	private String method;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getUserHead() {
		return userHead;
	}

	public void setUserHead(String userHead) {
		this.userHead = userHead;
	}

	public String getPacketId() {
		return packetId;
	}

	public void setPacketId(String packetId) {
		this.packetId = packetId;
	}

	@Override
	public String toString() {
		return "BaseInfo [userId=" + userId + ", userName=" + userName + ", nickName=" + nickName + ", userHead="
				+ userHead + ", packetId=" + packetId + ", method=" + method + "]";
	}

}
